package com.ld.security.server.admin.modules.msg.entity;

import com.ld.security.common.mybatis.base.entity.*;

import com.baomidou.mybatisplus.annotation.TableName;


import com.ld.security.server.admin.modules.msg.constant.MsgGroupNewsUserConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.constant.SqlCondition;

@TableName("msg_group_news")
@ApiModel("群消息")
@Data
public class MsgGroupNewsEntity  extends  MsgEntity
{




  @ApiModelProperty("群编号")
  @SqlKey(SqlCondition.eq)

    private String groupId;




  @ApiModelProperty("内容")
  @SqlKey(SqlCondition.eq)
    private String content;




  @ApiModelProperty("标题")
  @SqlKey(SqlCondition.eq)
    private String label;



  @ApiModelProperty("目标用户")
  @SqlKey(SqlCondition.eq)
  private String toUser;


  @ApiModelProperty("目标用户名称")
  @SqlKey(SqlCondition.eq)
  private String toUserName;

  @ApiModelProperty("消息状态")
  @SqlKey(SqlCondition.eq)
  private MsgGroupNewsUserConstant.msgStatus msgStatus;


        }
